package com.streetsmart;

import com.streetsmart.main.SSMainActivity;

import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.Intent;
import android.content.IntentFilter;
import android.os.Bundle;
import android.util.Log;

public class RescheduleReceiver extends BroadcastReceiver {

	@Override
	public void onReceive(Context context, Intent intent) {
		if (intent.getBooleanExtra("RESCHEDULE", false) == true) {
			Intent i = new Intent(context, NotificationService.class);
			i.putExtra("RESCHEDULE", true);
			context.startService(i);
		}
	}
}
